html,
body {
  margin: 0;
  font-family: Helvetica, "PingFang SC", "Microsoft YaHei", sans-serif !important;
  overflow: hidden; /* 隐藏全局滚动条 */
}
* {
  box-sizing: border-box;
}
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-thumb {
  width: 6px;
  height: 6px;
  border-radius: 6px;
  background: rgba(187, 187, 187, 0.8);
  background-clip: padding-box;
  border: 2px solid transparent;
}

::-webkit-scrollbar-thumb:active,
::-webkit-scrollbar-thumb:hover {
  background: rgba(125, 125, 125, 0.8);
  background-clip: padding-box;
}
.demo-logo {
  min-width: 240px;
  height: 32px;
  background-image: url("./assets/logo.png");
  background-repeat: round;

  /* background: rgba(125, 196, 230, 0.2);*/
  border-radius: 6px;

  margin-inline-end: 8px;
}

.demo-logo-vertical {
  height: 32px;
  margin: 16px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 6px;
}
.react-resizable {
  position: relative;
  background-clip: padding-box;
}

.react-resizable-handle {
  position: absolute;
  inset-inline-end: -5px;
  bottom: 0;
  z-index: 1;
  width: 10px;
  height: 100%;
  cursor: col-resize;
}

/* 移除最后一行的底部边框 */
.mes-ant-table-tbody > tr:last-child > td {
  border-bottom: none;
}

/* 悬停效果 */
.mes-ant-table-tbody > tr:hover > td {
  background: #fafafa;
}
/* 登录界面 */

.login-container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  position: relative;
  background-image: url("./assets/background.jpg"); /* 本地图片路径 */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.login-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.2);
}

.login-card {
  width: 400px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  z-index: 1;
  background: rgba(255, 255, 255, 0.68);
}

.login-form {
  max-width: 100%;
}

.login-form-forgot {
  float: right;
  color: #1890ff;
}

.login-form-button {
  width: 100%;
  margin-top: 10px;
}

.site-form-item-icon {
  color: rgba(0, 0, 0, 0.25);
}

/* 响应式设计 - 在小屏幕上调整卡片宽度 */
@media (max-width: 480px) {
  .login-card {
    width: 90%;
    margin: 0 auto;
  }
}
/* 增强焦点样式 */
.ant-input:focus {
  border-color: #1890ff;
  box-shadow: 0 0 0 2px rgba(24, 144, 255, 0.2);
  outline: 0;
}

//导航 Navbar 样式
nav {
    background: #333;
    color: white;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  nav ul {
    display: flex;
    list-style: none;
  }
  
  nav ul li {
    margin-left: 1rem;
  }
  
  nav a {
    color: white;
    text-decoration: none;
    padding: 0.5rem;
  }
  
  nav a:hover {
    background: #555;
    border-radius: 5px;
  }
  
  nav a.active {
    background: #007bff;
    border-radius: 5px;
  }
  
  button:hover {
    background: #0056b3;
  }
  